
package com.rock.knowall;

import java.util.Vector;

import android.app.Activity;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.TextureView;
import android.view.View;
import android.view.ViewGroup;
import android.view.View.OnClickListener;
import android.webkit.WebView.FindListener;
import android.widget.BaseAdapter;
import android.widget.TextView;

public class ShowModelActivity extends Activity implements OnClickListener {

    private String[] mClassify;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_show_model);
        initData();
        initView();
    }

    private void initData() {
    }

    private void initView() {
    }

    private class ListAdapter extends BaseAdapter {

        private Vector<String> classify;

        public ListAdapter(Vector<String> classify) {
            this.classify = classify;
        }

        @Override
        public int getCount() {
            // TODO Auto-generated method stub
            if (classify != null) {
                return classify.size();
            }
            return 0;
        }

        @Override
        public Object getItem(int arg0) {
            // TODO Auto-generated method stub
            return classify.get(arg0);
        }

        @Override
        public long getItemId(int arg0) {
            return arg0;
        }

        @Override
        public View getView(int arg0, View arg1, ViewGroup arg2) {

            arg1 = LayoutInflater.from(ShowModelActivity.this).inflate(R.layout.activity_main, null);
            return null;
        }

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.textview01:
                
                break;
            case R.id.textview02:

                break;
            case R.id.textview03:

                break;
            case R.id.textview04:

                break;
            case R.id.textview05:

                break;
            case R.id.textview06:

                break;

            default:
                break;
        }

    }
    
   

}
